<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!doctype html>
<html lang="zh-cmn">
<head>
    <%@include file="/WEB-INF/pages/header.jsp"%>
    <style>
        #table_enterResult tr td{
            border:1px solid #000;
            height: 45px;
        }
    </style>
</head>
<body>
<c:set var="tr" value="${treatment}"/>
<div class="container">
    <div class="col-md-4">
        <table data-striped="true"
               data-toggle="table" class="text-center">
            <thead>
            <tr>
                <th>病例号</th>
                <th>患者姓名</th>
                <th>治疗仪器</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>${ri.caseNo}</td>
                <td>${ri.member.memberName}</td>
                <td>${ri.instrInfo.instrName}</td>
            </tr>
            </tbody>

        </table>
    </div>
    <div class="col-md-8" style="border-left:2px solid #ccc;">
        <div style="width:100%;margin-top:10px;">
            <div class="pull-right">
                <button type="button" onclick="enterReservationInstr()" class="btn btn-primary">保存</button>
            </div>
        </div>
        <div style="width:100%;margin-top:60px;">
            <form id="enterForm_reInstr" class="form-horizontal">
                <table id="table_enterResult" style="margin:0 auto;border:1px solid #ccc;width:100%;">
                    <tr>
                        <td style="width:50px;text-align:right;background: #ccc;">病例号:</td>
                        <input type="hidden" name="reserveInstrId" value="${ri.reserveInstrId}"/>
                        <input type="hidden" name="caseId" value="${ri.caseId}"/>
                        <input type="hidden" name="userId" value="${ri.userId}"/>
                        <td style="width:50px;"><span>${ri.caseNo}</span></td>

                        <td style="width:50px;text-align:right;background: #ccc;">患者姓名:</td>
                        <td style="width:50px;"><span>${ri.member.memberName}</span></td>

                        <td style="width:50px;text-align:right;background: #ccc;">性别:</td>
                        <td style="width:50px;"><span>${ri.member.memberSex==1?'男':xInfo.ca.member.memberSex==0?'女':''}</span></td>
                    </tr>
                    <tr>
                        <td style="width:100px;text-align:right;background: #ccc;">预约医生:</td>
                        <td style="width:50px;"><span>${ri.user.userName}</span></td>
                        <td style="width:0px;text-align:right;background: #ccc;">开具时间:</td>
                        <td style="width:0px;" colspan="3"><span>${ri.reservationInstrStartDate}</span></td>
                    </tr>
                    <tr>
                        <td style="width:100px;text-align:right;background: #ccc;">治疗仪器:</td>
                        <td colspan="6" style="width:100px;">
                            <span>${ri.instrInfo.instrName}</span>
                        </td>
                    </tr>
                    <tr>
                        <td style="width:100px;text-align:right;background: #ccc;">治疗结果描述:</td>
                        <td colspan="6" id="jiuzhen">
                            <div style="margin:10px 0;" class="form-group">
                                <div class="col-md-10">
                                    <textarea cols="55" class="form-control" name="resultInfo" placeholder="输入文字..." style="margin:8px 0 8px 15px;"></textarea>
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
</div>



<%@include file="/WEB-INF/pages/footer.jsp"%>
<script src="${ctx}/res/js/enterTreatmentInstr.js"></script>
</body>
</html>